package ln.javatest.day05.Demo01;

public class Demo01Student3 {
    public static void main(String[] args) {
        Student3 stu = new Student3();
        stu.setName("王嘉尔");
        stu.setAge(23);
        System.out.println("姓名是：" + stu.getName() + ",年龄是:" + stu.getAge());
        //姓名是：王嘉尔,年龄是:23
        Student3 stu1 = new Student3("熊丰",21);
        System.out.println("姓名是：" + stu1.getName() + ",年龄是:" + stu1.getAge());
        //姓名是：熊丰,年龄是:21
    }
}
